Skip to main content

TsgLines

Unit: SGLines

The TsgLines class is made for LineType <> solid. It parses Lines, Polylines, Splines, Arcs, etc. and keeps coordinates for each line or dot in it.

If a line has got pattern __ . . . then after calling TsgLines.Line(Pt1, Pt2, DottedSingPts) it will return coordinates of one line and three dots, after one line and three dots again and so on. Dot specified as two points with identical coordinates.

Syntax

TsgLines = class

Properties

PropertiesDescription
ElementsThe property gets an element from the list.
ElementsCountThe property gets the number of the special elements.
IsUniformThe property is for internal uses only.
PatternLengthThe property determinates the length of the pattern of a dotted line.
ScaleThe property defines the scale factor of the pattern of a dotted line.

Methods

MethodsDescription
AddThe method adds a new element to the pattern of a dotted line.
AddTickThe method creates and adds a new element to the pattern of a dotted line.
AssignThe method copies properties of source entity to current entity.
ClearThe method clears the items of the Elements list.
CreateCreates an instance of the TsgLines class.
CurveThe method
DestroyDestroys an instance of the TsgLines class.
InitializeThe method initializes a new line as the solid line.
IsDottedThe method specifies whether or not a pattern of the dotted line is dotted
IsSolidThe method specifies whether or not a pattern of the dotted line is solid.
LineThe method create a coordinates list for a dotted-line base on single line coordinates.
LoadedThe method loads the TsgLines object using specified converter.
PolyThe method creates a points-list for the dotted-polyline.